org.neo4j.graphalgo
Interface MaxCostEvaluator<T>
- Type Parameters:
T - The cost value type
public interface MaxCostEvaluator<T>
Evaluator for determining if the maximum path cost has been exceeded.
- Author:
- Peter Neubauer
|
Method Summary |
boolean |
maxCostExceeded(T currentCost)
Evaluates whether the maximum cost has been exceeded. |
maxCostExceeded
boolean maxCostExceeded(T currentCost)
- Evaluates whether the maximum cost has been exceeded.
- Parameters:
currentCost - the cost to be checked
- Returns:
- true if the maximum Cost is less that currentCost
Copyright © 2010 Neo4j. All Rights Reserved.